home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / prim / frame.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  9.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 32 30 3a 34 | 31 20 31 39 39 35 0a 3b | 14:20:4|1 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 70 72 | 69 6d 2f 66 72 61 6d 65 |/lisp/pr|im/frame|
|00000090| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|000000a0| 72 73 69 6f 6e 20 31 39 | 2e 31 33 20 58 45 6d 61 |rsion 19|.13 XEma|
|000000b0| 63 73 20 4c 75 63 69 64 | 2e 0a 3b 3b 3b 20 62 79 |cs Lucid|..;;; by|
|000000c0| 74 65 63 6f 6d 70 20 76 | 65 72 73 69 6f 6e 20 32 |tecomp v|ersion 2|
|000000d0| 2e 32 35 3b 20 31 2d 53 | 65 70 2d 39 34 2e 0a 3b |.25; 1-S|ep-94..;|
|000000e0| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|000000f0| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|00000100| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|00000110| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|00000120| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 20 31 38 |xist in |Emacs 18|
|00000130| 2e 0a 0a 28 69 66 20 28 | 61 6e 64 20 28 62 6f 75 |...(if (|and (bou|
|00000140| 6e 64 70 20 27 65 6d 61 | 63 73 2d 76 65 72 73 69 |ndp 'ema|cs-versi|
|00000150| 6f 6e 29 0a 09 20 28 6f | 72 20 28 61 6e 64 20 28 |on).. (o|r (and (|
|00000160| 62 6f 75 6e 64 70 20 27 | 65 70 6f 63 68 3a 3a 76 |boundp '|epoch::v|
|00000170| 65 72 73 69 6f 6e 29 20 | 65 70 6f 63 68 3a 3a 76 |ersion) |epoch::v|
|00000180| 65 72 73 69 6f 6e 29 0a | 09 20 20 20 20 20 28 73 |ersion).|. (s|
|00000190| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 65 6d 61 63 |tring-le|ssp emac|
|000001a0| 73 2d 76 65 72 73 69 6f | 6e 20 22 31 39 22 29 29 |s-versio|n "19"))|
|000001b0| 29 0a 20 20 20 20 28 65 | 72 72 6f 72 20 22 54 68 |). (e|rror "Th|
|000001c0| 69 73 20 66 69 6c 65 20 | 77 61 73 20 63 6f 6d 70 |is file |was comp|
|000001d0| 69 6c 65 64 20 66 6f 72 | 20 45 6d 61 63 73 20 31 |iled for| Emacs 1|
|000001e0| 39 2e 22 29 29 0a 0a 28 | 64 65 66 76 61 72 20 73 |9."))..(|defvar s|
|000001f0| 65 6c 65 63 74 2d 66 72 | 61 6d 65 2d 68 6f 6f 6b |elect-fr|ame-hook|
|00000200| 20 6e 69 6c 20 22 5c 0a | 46 75 6e 63 74 69 6f 6e | nil "\.|Function|
|00000210| 20 6f 72 20 66 75 6e 63 | 74 69 6f 6e 73 20 74 6f | or func|tions to|
|00000220| 20 72 75 6e 20 6a 75 73 | 74 20 61 66 74 65 72 20 | run jus|t after |
|00000230| 61 20 6e 65 77 20 66 72 | 61 6d 65 20 69 73 20 67 |a new fr|ame is g|
|00000240| 69 76 65 6e 20 74 68 65 | 20 66 6f 63 75 73 2e 0a |iven the| focus..|
|00000250| 4e 6f 74 65 20 74 68 61 | 74 20 63 61 6c 6c 69 6e |Note tha|t callin|
|00000260| 67 20 60 73 65 6c 65 63 | 74 2d 66 72 61 6d 65 27 |g `selec|t-frame'|
|00000270| 20 64 6f 65 73 20 6e 6f | 74 20 6e 65 63 65 73 73 | does no|t necess|
|00000280| 61 72 69 6c 79 20 73 65 | 74 20 74 68 65 20 66 6f |arily se|t the fo|
|00000290| 63 75 73 3a 0a 54 68 65 | 20 61 63 74 75 61 6c 20 |cus:.The| actual |
|000002a0| 77 69 6e 64 6f 77 2d 73 | 79 73 74 65 6d 20 66 6f |window-s|ystem fo|
|000002b0| 63 75 73 20 77 69 6c 6c | 20 6e 6f 74 20 62 65 20 |cus will| not be |
|000002c0| 63 68 61 6e 67 65 64 20 | 75 6e 74 69 6c 20 74 68 |changed |until th|
|000002d0| 65 20 6e 65 78 74 20 74 | 69 6d 65 0a 74 68 61 74 |e next t|ime.that|
|000002e0| 20 58 45 6d 61 63 73 20 | 69 73 20 77 61 69 74 69 | XEmacs |is waiti|
|000002f0| 6e 67 20 66 6f 72 20 61 | 6e 20 65 76 65 6e 74 2c |ng for a|n event,|
|00000300| 20 61 6e 64 20 65 76 65 | 6e 20 74 68 65 6e 2c 20 | and eve|n then, |
|00000310| 74 68 65 20 77 69 6e 64 | 6f 77 20 6d 61 6e 61 67 |the wind|ow manag|
|00000320| 65 72 0a 6d 61 79 20 72 | 65 66 75 73 65 20 74 68 |er.may r|efuse th|
|00000330| 65 20 66 6f 63 75 73 2d | 63 68 61 6e 67 65 20 72 |e focus-|change r|
|00000340| 65 71 75 65 73 74 2e 22 | 29 0a 28 64 65 66 76 61 |equest."|).(defva|
|00000350| 72 20 64 65 73 65 6c 65 | 63 74 2d 66 72 61 6d 65 |r desele|ct-frame|
|00000360| 2d 68 6f 6f 6b 20 6e 69 | 6c 20 22 5c 0a 46 75 6e |-hook ni|l "\.Fun|
|00000370| 63 74 69 6f 6e 20 6f 72 | 20 66 75 6e 63 74 69 6f |ction or| functio|
|00000380| 6e 73 20 74 6f 20 72 75 | 6e 20 6a 75 73 74 20 62 |ns to ru|n just b|
|00000390| 65 66 6f 72 65 20 61 20 | 66 72 61 6d 65 20 6c 6f |efore a |frame lo|
|000003a0| 73 65 73 20 74 68 65 20 | 66 6f 63 75 73 2e 0a 53 |ses the |focus..S|
|000003b0| 65 65 20 60 73 65 6c 65 | 63 74 2d 66 72 61 6d 65 |ee `sele|ct-frame|
|000003c0| 2d 68 6f 6f 6b 27 2e 22 | 29 0a 28 64 65 66 76 61 |-hook'."|).(defva|
|000003d0| 72 20 69 6e 69 74 69 61 | 6c 2d 66 72 61 6d 65 2d |r initia|l-frame-|
|000003e0| 61 6c 69 73 74 20 6e 69 | 6c 20 22 5c 0a 41 6c 69 |alist ni|l "\.Ali|
|000003f0| 73 74 20 6f 66 20 64 65 | 66 61 75 6c 74 20 76 61 |st of de|fault va|
|00000400| 6c 75 65 73 20 66 6f 72 | 20 74 68 65 20 66 69 72 |lues for| the fir|
|00000410| 73 74 20 66 72 61 6d 65 | 2e 0a 54 68 69 73 20 6d |st frame|..This m|
|00000420| 61 79 20 62 65 20 73 65 | 74 20 62 79 20 74 68 65 |ay be se|t by the|
|00000430| 20 77 69 6e 64 6f 77 2d | 73 79 73 74 65 6d 2d 73 | window-|system-s|
|00000440| 70 65 63 69 66 69 63 20 | 69 6e 69 74 20 66 69 6c |pecific |init fil|
|00000450| 65 2e 22 29 0a 28 66 73 | 65 74 20 27 66 72 61 6d |e.").(fs|et 'fram|
|00000460| 65 2d 69 6e 69 74 69 61 | 6c 69 7a 65 20 23 5b 6e |e-initia|lize #[n|
|00000470| 69 6c 20 22 c0 20 3f ad | 92 c1 5c 6e c3 0c c5 20 |il ". ?.|..\n... |
|00000480| 5c 22 40 5c 22 88 c6 0c | 21 88 c7 89 16 08 87 22 |\"@\"...|!......"|
|00000490| 20 5b 6e 6f 6e 69 6e 74 | 65 72 61 63 74 69 76 65 | [nonint|eractive|
|000004a0| 20 6d 61 6b 65 2d 66 72 | 61 6d 65 20 69 6e 69 74 | make-fr|ame init|
|000004b0| 69 61 6c 2d 66 72 61 6d | 65 2d 61 6c 69 73 74 20 |ial-fram|e-alist |
|000004c0| 64 65 6c 71 20 74 65 72 | 6d 69 6e 61 6c 2d 64 65 |delq ter|minal-de|
|000004d0| 76 69 63 65 20 64 65 76 | 69 63 65 2d 6c 69 73 74 |vice dev|ice-list|
|000004e0| 20 64 65 6c 65 74 65 2d | 64 65 76 69 63 65 20 6e | delete-|device n|
|000004f0| 69 6c 20 74 65 72 6d 69 | 6e 61 6c 2d 66 72 61 6d |il termi|nal-fram|
|00000500| 65 5d 20 35 5d 29 0a 28 | 66 73 65 74 20 27 67 65 |e] 5]).(|fset 'ge|
|00000510| 74 2d 6f 74 68 65 72 2d | 66 72 61 6d 65 20 23 5b |t-other-|frame #[|
|00000520| 6e 69 6c 20 22 c0 20 19 | c2 09 c3 5c 22 1c 09 0c |nil ". .|...\"...|
|00000530| 3d ab 85 c2 09 c5 5c 22 | 14 09 0c 3d ab 84 c6 20 |=.....\"|...=... |
|00000540| aa 81 0c 2a 87 22 20 5b | 73 65 6c 65 63 74 65 64 |...*." [|selected|
|00000550| 2d 66 72 61 6d 65 20 74 | 68 69 73 20 6e 65 78 74 |-frame t|his next|
|00000560| 2d 66 72 61 6d 65 20 76 | 69 73 69 62 6c 65 20 6e |-frame v|isible n|
|00000570| 65 78 74 20 6e 69 6c 20 | 6d 61 6b 65 2d 66 72 61 |ext nil |make-fra|
|00000580| 6d 65 5d 20 33 20 22 5c | 0a 52 65 74 75 72 6e 20 |me] 3 "\|.Return |
|00000590| 73 6f 6d 65 20 66 72 61 | 6d 65 20 6f 74 68 65 72 |some fra|me other|
|000005a0| 20 74 68 61 6e 20 74 68 | 65 20 63 75 72 72 65 6e | than th|e curren|
|000005b0| 74 20 66 72 61 6d 65 2c | 20 63 72 65 61 74 69 6e |t frame,| creatin|
|000005c0| 67 20 6f 6e 65 20 69 66 | 20 6e 65 63 65 73 73 61 |g one if| necessa|
|000005d0| 72 79 2e 22 5d 29 0a 28 | 66 73 65 74 20 27 6e 65 |ry."]).(|fset 'ne|
|000005e0| 78 74 2d 6d 75 6c 74 69 | 66 72 61 6d 65 2d 77 69 |xt-multi|frame-wi|
|000005f0| 6e 64 6f 77 20 23 5b 6e | 69 6c 20 22 c0 c1 c2 20 |ndow #[n|il "... |
|00000600| c3 20 c4 56 c5 23 21 87 | 22 20 5b 73 65 6c 65 63 |. .V.#!.|" [selec|
|00000610| 74 2d 77 69 6e 64 6f 77 | 20 6e 65 78 74 2d 77 69 |t-window| next-wi|
|00000620| 6e 64 6f 77 20 73 65 6c | 65 63 74 65 64 2d 77 69 |ndow sel|ected-wi|
|00000630| 6e 64 6f 77 20 6d 69 6e | 69 62 75 66 66 65 72 2d |ndow min|ibuffer-|
|00000640| 64 65 70 74 68 20 30 20 | 74 5d 20 35 20 22 5c 0a |depth 0 |t] 5 "\.|
|00000650| 53 65 6c 65 63 74 20 74 | 68 65 20 6e 65 78 74 20 |Select t|he next |
|00000660| 77 69 6e 64 6f 77 2c 20 | 72 65 67 61 72 64 6c 65 |window, |regardle|
|00000670| 73 73 20 6f 66 20 77 68 | 69 63 68 20 66 72 61 6d |ss of wh|ich fram|
|00000680| 65 20 69 74 20 69 73 20 | 6f 6e 2e 22 20 6e 69 6c |e it is |on." nil|
|00000690| 5d 29 0a 28 66 73 65 74 | 20 27 70 72 65 76 69 6f |]).(fset| 'previo|
|000006a0| 75 73 2d 6d 75 6c 74 69 | 66 72 61 6d 65 2d 77 69 |us-multi|frame-wi|
|000006b0| 6e 64 6f 77 20 23 5b 6e | 69 6c 20 22 c0 c1 c2 20 |ndow #[n|il "... |
|000006c0| c3 20 c4 56 c5 23 21 87 | 22 20 5b 73 65 6c 65 63 |. .V.#!.|" [selec|
|000006d0| 74 2d 77 69 6e 64 6f 77 | 20 70 72 65 76 69 6f 75 |t-window| previou|
|000006e0| 73 2d 77 69 6e 64 6f 77 | 20 73 65 6c 65 63 74 65 |s-window| selecte|
|000006f0| 64 2d 77 69 6e 64 6f 77 | 20 6d 69 6e 69 62 75 66 |d-window| minibuf|
|00000700| 66 65 72 2d 64 65 70 74 | 68 20 30 20 74 5d 20 35 |fer-dept|h 0 t] 5|
|00000710| 20 22 5c 0a 53 65 6c 65 | 63 74 20 74 68 65 20 70 | "\.Sele|ct the p|
|00000720| 72 65 76 69 6f 75 73 20 | 77 69 6e 64 6f 77 2c 20 |revious |window, |
|00000730| 72 65 67 61 72 64 6c 65 | 73 73 20 6f 66 20 77 68 |regardle|ss of wh|
|00000740| 69 63 68 20 66 72 61 6d | 65 20 69 74 20 69 73 20 |ich fram|e it is |
|00000750| 6f 6e 2e 22 20 6e 69 6c | 5d 29 0a 28 66 73 65 74 |on." nil|]).(fset|
|00000760| 20 27 66 72 61 6d 65 2d | 6c 69 73 74 20 23 5b 6e | 'frame-|list #[n|
|00000770| 69 6c 20 22 c0 c1 c2 c3 | c4 20 5c 22 5c 22 87 22 |il "....|. \"\"."|
|00000780| 20 5b 61 70 70 6c 79 20 | 61 70 70 65 6e 64 20 6d | [apply |append m|
|00000790| 61 70 63 61 72 20 64 65 | 76 69 63 65 2d 66 72 61 |apcar de|vice-fra|
|000007a0| 6d 65 2d 6c 69 73 74 20 | 64 65 76 69 63 65 2d 6c |me-list |device-l|
|000007b0| 69 73 74 5d 20 35 20 22 | 5c 0a 52 65 74 75 72 6e |ist] 5 "|\.Return|
|000007c0| 20 61 20 6c 69 73 74 20 | 6f 66 20 61 6c 6c 20 66 | a list |of all f|
|000007d0| 72 61 6d 65 73 20 6f 6e | 20 61 6c 6c 20 64 65 76 |rames on| all dev|
|000007e0| 69 63 65 73 2e 22 5d 29 | 0a 28 64 65 66 61 6c 69 |ices."])|.(defali|
|000007f0| 61 73 20 27 6e 65 77 2d | 66 72 61 6d 65 20 27 6d |as 'new-|frame 'm|
|00000800| 61 6b 65 2d 66 72 61 6d | 65 29 0a 28 66 73 65 74 |ake-fram|e).(fset|
|00000810| 20 27 66 69 6c 74 65 72 | 65 64 2d 66 72 61 6d 65 | 'filter|ed-frame|
|00000820| 2d 6c 69 73 74 20 23 5b | 28 70 72 65 64 69 63 61 |-list #[|(predica|
|00000830| 74 65 29 20 22 c0 20 c1 | 1a 89 1b 3a ab 91 0c 0b |te) ". .|...:....|
|00000840| 40 21 ab 85 0b 40 5c 6e | 42 12 0b 41 89 13 aa 6c |@!...@\n|B..A...l|
|00000850| 5c 6e 2a 87 22 20 5b 66 | 72 61 6d 65 2d 6c 69 73 |\n*." [f|rame-lis|
|00000860| 74 20 6e 69 6c 20 67 6f | 6f 64 2d 66 72 61 6d 65 |t nil go|od-frame|
|00000870| 73 20 66 72 61 6d 65 73 | 20 70 72 65 64 69 63 61 |s frames| predica|
|00000880| 74 65 5d 20 33 20 22 5c | 0a 52 65 74 75 72 6e 20 |te] 3 "\|.Return |
|00000890| 61 20 6c 69 73 74 20 6f | 66 20 61 6c 6c 20 6c 69 |a list o|f all li|
|000008a0| 76 65 20 66 72 61 6d 65 | 73 20 77 68 69 63 68 20 |ve frame|s which |
|000008b0| 73 61 74 69 73 66 79 20 | 50 52 45 44 49 43 41 54 |satisfy |PREDICAT|
|000008c0| 45 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 6f 74 68 |E."]).(f|set 'oth|
|000008d0| 65 72 2d 66 72 61 6d 65 | 20 23 5b 28 61 72 67 29 |er-frame| #[(arg)|
|000008e0| 20 22 c0 20 19 5c 6e c3 | 56 ab 8b c4 09 c5 5c 22 | ". .\n.|V.....\"|
|000008f0| 11 5c 6e 53 89 12 aa 71 | 5c 6e c3 57 ab 8b c6 09 |.\nS...q|\n.W....|
|00000900| c5 5c 22 11 5c 6e 54 89 | 12 aa 71 c7 09 21 88 c8 |.\".\nT.|..q..!..|
|00000910| 09 21 29 87 22 20 5b 73 | 65 6c 65 63 74 65 64 2d |.!)." [s|elected-|
|00000920| 66 72 61 6d 65 20 66 72 | 61 6d 65 20 61 72 67 20 |frame fr|ame arg |
|00000930| 30 20 6e 65 78 74 2d 66 | 72 61 6d 65 20 76 69 73 |0 next-f|rame vis|
|00000940| 69 62 6c 65 20 70 72 65 | 76 69 6f 75 73 2d 66 72 |ible pre|vious-fr|
|00000950| 61 6d 65 20 72 61 69 73 | 65 2d 66 72 61 6d 65 20 |ame rais|e-frame |
|00000960| 73 65 6c 65 63 74 2d 66 | 72 61 6d 65 5d 20 34 20 |select-f|rame] 4 |
|00000970| 22 5c 0a 53 65 6c 65 63 | 74 20 74 68 65 20 41 52 |"\.Selec|t the AR|
|00000980| 47 27 74 68 20 64 69 66 | 66 65 72 65 6e 74 20 76 |G'th dif|ferent v|
|00000990| 69 73 69 62 6c 65 20 66 | 72 61 6d 65 2c 20 61 6e |isible f|rame, an|
|000009a0| 64 20 72 61 69 73 65 20 | 69 74 2e 0a 41 6c 6c 20 |d raise |it..All |
|000009b0| 66 72 61 6d 65 73 20 61 | 72 65 20 61 72 72 61 6e |frames a|re arran|
|000009c0| 67 65 64 20 69 6e 20 61 | 20 63 79 63 6c 69 63 20 |ged in a| cyclic |
|000009d0| 6f 72 64 65 72 2e 0a 54 | 68 69 73 20 63 6f 6d 6d |order..T|his comm|
|000009e0| 61 6e 64 20 73 65 6c 65 | 63 74 73 20 74 68 65 20 |and sele|cts the |
|000009f0| 66 72 61 6d 65 20 41 52 | 47 20 73 74 65 70 73 20 |frame AR|G steps |
|00000a00| 61 77 61 79 20 69 6e 20 | 74 68 61 74 20 6f 72 64 |away in |that ord|
|00000a10| 65 72 2e 0a 41 20 6e 65 | 67 61 74 69 76 65 20 41 |er..A ne|gative A|
|00000a20| 52 47 20 6d 6f 76 65 73 | 20 69 6e 20 74 68 65 20 |RG moves| in the |
|00000a30| 6f 70 70 6f 73 69 74 65 | 20 6f 72 64 65 72 2e 22 |opposite| order."|
|00000a40| 20 22 70 22 5d 29 0a 28 | 66 73 65 74 20 27 64 65 | "p"]).(|fset 'de|
|00000a50| 76 69 63 65 2d 6f 72 2d | 66 72 61 6d 65 2d 70 20 |vice-or-|frame-p |
|00000a60| 23 5b 28 6f 62 6a 65 63 | 74 29 20 22 c0 09 21 ae |#[(objec|t) "..!.|
|00000a70| 83 c2 09 21 87 22 20 5b | 64 65 76 69 63 65 70 20 |...!." [|devicep |
|00000a80| 6f 62 6a 65 63 74 20 66 | 72 61 6d 65 70 5d 20 32 |object f|ramep] 2|
|00000a90| 20 22 5c 0a 52 65 74 75 | 72 6e 20 6e 6f 6e 2d 6e | "\.Retu|rn non-n|
|00000aa0| 69 6c 20 69 66 20 4f 42 | 4a 45 43 54 20 69 73 20 |il if OB|JECT is |
|00000ab0| 61 20 64 65 76 69 63 65 | 20 6f 72 20 66 72 61 6d |a device| or fram|
|00000ac0| 65 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 64 65 76 |e."]).(f|set 'dev|
|00000ad0| 69 63 65 2d 6f 72 2d 66 | 72 61 6d 65 2d 74 79 70 |ice-or-f|rame-typ|
|00000ae0| 65 20 23 5b 28 64 65 76 | 69 63 65 2d 6f 72 2d 66 |e #[(dev|ice-or-f|
|00000af0| 72 61 6d 65 29 20 22 c0 | 09 21 ab 84 c2 09 21 87 |rame) ".|.!....!.|
|00000b00| c3 09 21 87 22 20 5b 64 | 65 76 69 63 65 70 20 64 |..!." [d|evicep d|
|00000b10| 65 76 69 63 65 2d 6f 72 | 2d 66 72 61 6d 65 20 64 |evice-or|-frame d|
|00000b20| 65 76 69 63 65 2d 74 79 | 70 65 20 66 72 61 6d 65 |evice-ty|pe frame|
|00000b30| 2d 74 79 70 65 5d 20 32 | 20 22 5c 0a 52 65 74 75 |-type] 2| "\.Retu|
|00000b40| 72 6e 20 74 68 65 20 74 | 79 70 65 20 28 65 2e 67 |rn the t|ype (e.g|
|00000b50| 2e 20 60 78 27 20 6f 72 | 20 60 74 74 79 27 29 20 |. `x' or| `tty') |
|00000b60| 6f 66 20 44 45 56 49 43 | 45 2d 4f 52 2d 46 52 41 |of DEVIC|E-OR-FRA|
|00000b70| 4d 45 2e 0a 44 45 56 49 | 43 45 2d 4f 52 2d 46 52 |ME..DEVI|CE-OR-FR|
|00000b80| 41 4d 45 20 73 68 6f 75 | 6c 64 20 62 65 20 61 20 |AME shou|ld be a |
|00000b90| 64 65 76 69 63 65 20 6f | 72 20 61 20 66 72 61 6d |device o|r a fram|
|00000ba0| 65 20 6f 62 6a 65 63 74 | 2e 20 20 53 65 65 20 60 |e object|. See `|
|00000bb0| 64 65 76 69 63 65 2d 74 | 79 70 65 27 0a 66 6f 72 |device-t|ype'.for|
|00000bc0| 20 61 20 64 65 73 63 72 | 69 70 74 69 6f 6e 20 6f | a descr|iption o|
|00000bd0| 66 20 74 68 65 20 70 6f | 73 73 69 62 6c 65 20 74 |f the po|ssible t|
|00000be0| 79 70 65 73 2e 22 5d 29 | 0a 28 62 79 74 65 2d 63 |ypes."])|.(byte-c|
|00000bf0| 6f 64 65 20 22 c0 c1 21 | ac 82 c2 11 c0 c3 21 ac |ode "..!|......!.|
|00000c00| 82 c2 13 c2 87 22 20 5b | 62 6f 75 6e 64 70 20 69 |....." [|boundp i|
|00000c10| 63 6f 6e 2d 6e 61 6d 65 | 20 6e 69 6c 20 69 63 6f |con-name| nil ico|
|00000c20| 6e 69 66 69 63 61 74 69 | 6f 6e 2d 64 61 74 61 5d |nificati|on-data]|
|00000c30| 20 32 29 0a 28 66 73 65 | 74 20 27 69 63 6f 6e 69 | 2).(fse|t 'iconi|
|00000c40| 66 79 2d 65 6d 61 63 73 | 20 23 5b 6e 69 6c 20 22 |fy-emacs| #[nil "|
|00000c50| 08 ab 84 c1 c2 21 88 c3 | 20 89 1c 1d c6 20 1e 07 |.....!..| .... ..|
|00000c60| c8 1e 09 0d ab a0 0d 40 | 16 09 0d 0e 09 ca 0e 09 |.......@|........|
|00000c70| 21 42 a0 88 0e 09 0e 07 | 3d ac 85 cb 0e 09 21 88 |!B......|=.....!.|
|00000c80| 0d 41 89 15 ac 60 cc cd | 21 ac 83 c8 16 0d 0e 0e |.A...`..|!.......|
|00000c90| ac 88 0e 0f d0 d1 20 51 | 16 0e 0e 12 0e 0d 0c 45 |...... Q|.......E|
|00000ca0| 10 0e 0e 16 12 d3 16 0d | d4 0e 07 21 2c 87 22 20 |........|...!,." |
|00000cb0| 5b 69 63 6f 6e 69 66 69 | 63 61 74 69 6f 6e 2d 64 |[iconifi|cation-d|
|00000cc0| 61 74 61 20 65 72 72 6f | 72 20 22 61 6c 72 65 61 |ata erro|r "alrea|
|00000cd0| 64 79 20 69 63 6f 6e 69 | 66 69 65 64 3f 22 20 66 |dy iconi|fied?" f|
|00000ce0| 72 61 6d 65 2d 6c 69 73 | 74 20 66 72 61 6d 65 73 |rame-lis|t frames|
|00000cf0| 20 72 65 73 74 20 73 65 | 6c 65 63 74 65 64 2d 66 | rest se|lected-f|
|00000d00| 72 61 6d 65 20 6d 65 20 | 6e 69 6c 20 66 72 61 6d |rame me |nil fram|
|00000d10| 65 20 66 72 61 6d 65 2d | 76 69 73 69 62 6c 65 2d |e frame-|visible-|
|00000d20| 70 20 6d 61 6b 65 2d 66 | 72 61 6d 65 2d 69 6e 76 |p make-f|rame-inv|
|00000d30| 69 73 69 62 6c 65 20 62 | 6f 75 6e 64 70 20 6d 61 |isible b|oundp ma|
|00000d40| 70 2d 66 72 61 6d 65 2d | 68 6f 6f 6b 20 69 63 6f |p-frame-|hook ico|
|00000d50| 6e 2d 6e 61 6d 65 20 69 | 6e 76 6f 63 61 74 69 6f |n-name i|nvocatio|
|00000d60| 6e 2d 6e 61 6d 65 20 22 | 20 40 20 22 20 73 79 73 |n-name "| @ " sys|
|00000d70| 74 65 6d 2d 6e 61 6d 65 | 20 66 72 61 6d 65 2d 69 |tem-name| frame-i|
|00000d80| 63 6f 6e 2d 74 69 74 6c | 65 2d 66 6f 72 6d 61 74 |con-titl|e-format|
|00000d90| 20 64 65 69 63 6f 6e 69 | 66 79 2d 65 6d 61 63 73 | deiconi|fy-emacs|
|00000da0| 20 69 63 6f 6e 69 66 79 | 2d 66 72 61 6d 65 5d 20 | iconify|-frame] |
|00000db0| 35 20 22 5c 0a 52 65 70 | 6c 61 63 65 20 65 76 65 |5 "\.Rep|lace eve|
|00000dc0| 72 79 20 6e 6f 6e 2d 69 | 63 6f 6e 69 66 69 65 64 |ry non-i|conified|
|00000dd0| 20 46 52 41 4d 45 20 77 | 69 74 68 20 61 20 2a 73 | FRAME w|ith a *s|
|00000de0| 69 6e 67 6c 65 2a 20 69 | 63 6f 6e 2e 0a 49 63 6f |ingle* i|con..Ico|
|00000df0| 6e 69 66 69 65 64 20 66 | 72 61 6d 65 73 20 61 72 |nified f|rames ar|
|00000e00| 65 20 6c 65 66 74 20 61 | 6c 6f 6e 65 2e 20 20 57 |e left a|lone. W|
|00000e10| 68 65 6e 20 58 45 6d 61 | 63 73 20 69 73 20 69 6e |hen XEma|cs is in|
|00000e20| 20 74 68 69 73 0a 67 6c | 6f 62 61 6c 6c 79 2d 69 | this.gl|obally-i|
|00000e30| 63 6f 6e 69 66 69 65 64 | 20 73 74 61 74 65 2c 20 |conified| state, |
|00000e40| 64 65 2d 69 63 6f 6e 69 | 66 79 69 6e 67 20 61 6e |de-iconi|fying an|
|00000e50| 79 20 65 6d 61 63 73 20 | 69 63 6f 6e 20 77 69 6c |y emacs |icon wil|
|00000e60| 6c 20 75 6e 69 63 6f 6e | 69 66 79 0a 61 6c 6c 20 |l unicon|ify.all |
|00000e70| 66 72 61 6d 65 73 20 74 | 68 61 74 20 77 65 72 65 |frames t|hat were|
|00000e80| 20 76 69 73 69 62 6c 65 | 2c 20 61 6e 64 20 69 63 | visible|, and ic|
|00000e90| 6f 6e 69 66 79 20 61 6c | 6c 20 66 72 61 6d 65 73 |onify al|l frames|
|00000ea0| 20 74 68 61 74 20 77 65 | 72 65 20 6e 6f 74 2e 22 | that we|re not."|
|00000eb0| 20 6e 69 6c 5d 29 0a 28 | 66 73 65 74 20 27 64 65 | nil]).(|fset 'de|
|00000ec0| 69 63 6f 6e 69 66 79 2d | 65 6d 61 63 73 20 23 5b |iconify-|emacs #[|
|00000ed0| 28 26 6f 70 74 69 6f 6e | 61 6c 20 69 67 6e 6f 72 |(&option|al ignor|
|00000ee0| 65 29 20 22 08 ac 84 c1 | c2 21 88 08 40 13 08 41 |e) "....|.!..@..A|
|00000ef0| 40 14 08 41 41 40 89 10 | ad 97 08 40 41 89 1d c6 |@..AA@..|...@A...|
|00000f00| 3d ab 86 c7 08 40 40 21 | 88 29 08 41 89 10 ac 6a |=....@@!|.).A...j|
|00000f10| c8 87 22 20 5b 69 63 6f | 6e 69 66 69 63 61 74 69 |.." [ico|nificati|
|00000f20| 6f 6e 2d 64 61 74 61 20 | 65 72 72 6f 72 20 22 6e |on-data |error "n|
|00000f30| 6f 74 20 69 63 6f 6e 69 | 66 69 65 64 3f 22 20 66 |ot iconi|fied?" f|
|00000f40| 72 61 6d 65 2d 69 63 6f | 6e 2d 74 69 74 6c 65 2d |rame-ico|n-title-|
|00000f50| 66 6f 72 6d 61 74 20 6d | 61 70 2d 66 72 61 6d 65 |format m|ap-frame|
|00000f60| 2d 68 6f 6f 6b 20 76 69 | 73 69 62 69 6c 69 74 79 |-hook vi|sibility|
|00000f70| 20 74 20 6d 61 6b 65 2d | 66 72 61 6d 65 2d 76 69 | t make-|frame-vi|
|00000f80| 73 69 62 6c 65 20 6e 69 | 6c 5d 20 33 5d 29 0a 28 |sible ni|l] 3]).(|
|00000f90| 66 73 65 74 20 27 73 75 | 73 70 65 6e 64 2d 6f 72 |fset 'su|spend-or|
|00000fa0| 2d 69 63 6f 6e 69 66 79 | 2d 65 6d 61 63 73 20 23 |-iconify|-emacs #|
|00000fb0| 5b 6e 69 6c 20 22 c0 c1 | 20 21 c2 3d ab 83 c3 20 |[nil "..| !.=... |
|00000fc0| 87 c4 20 87 22 20 5b 66 | 72 61 6d 65 2d 74 79 70 |.. ." [f|rame-typ|
|00000fd0| 65 20 73 65 6c 65 63 74 | 65 64 2d 66 72 61 6d 65 |e select|ed-frame|
|00000fe0| 20 78 20 69 63 6f 6e 69 | 66 79 2d 65 6d 61 63 73 | x iconi|fy-emacs|
|00000ff0| 20 73 75 73 70 65 6e 64 | 2d 65 6d 61 63 73 5d 20 | suspend|-emacs] |
|00001000| 32 20 22 5c 0a 43 61 6c | 6c 73 20 69 63 6f 6e 69 |2 "\.Cal|ls iconi|
|00001010| 66 79 2d 65 6d 61 63 73 | 20 69 66 20 66 72 61 6d |fy-emacs| if fram|
|00001020| 65 20 69 73 20 61 6e 20 | 58 20 66 72 61 6d 65 2c |e is an |X frame,|
|00001030| 20 6f 74 68 65 72 77 69 | 73 65 20 63 61 6c 6c 73 | otherwi|se calls|
|00001040| 20 73 75 73 70 65 6e 64 | 2d 65 6d 61 63 73 22 20 | suspend|-emacs" |
|00001050| 6e 69 6c 5d 29 0a 28 64 | 65 66 76 61 72 20 61 75 |nil]).(d|efvar au|
|00001060| 74 6f 2d 72 61 69 73 65 | 2d 66 72 61 6d 65 20 6e |to-raise|-frame n|
|00001070| 69 6c 20 22 5c 0a 2a 49 | 66 20 74 72 75 65 2c 20 |il "\.*I|f true, |
|00001080| 66 72 61 6d 65 73 20 77 | 69 6c 6c 20 62 65 20 72 |frames w|ill be r|
|00001090| 61 69 73 65 64 20 74 6f | 20 74 68 65 20 74 6f 70 |aised to| the top|
|000010a0| 20 77 68 65 6e 20 73 65 | 6c 65 63 74 65 64 2e 0a | when se|lected..|
|000010b0| 55 6e 64 65 72 20 58 2c | 20 6d 6f 73 74 20 49 43 |Under X,| most IC|
|000010c0| 43 43 4d 2d 63 6f 6d 70 | 6c 69 61 6e 74 20 77 69 |CCM-comp|liant wi|
|000010d0| 6e 64 6f 77 20 6d 61 6e | 61 67 65 72 73 20 77 69 |ndow man|agers wi|
|000010e0| 6c 6c 20 68 61 76 65 20 | 61 6e 20 6f 70 74 69 6f |ll have |an optio|
|000010f0| 6e 20 74 6f 20 64 6f 20 | 74 68 69 73 0a 66 6f 72 |n to do |this.for|
|00001100| 20 79 6f 75 2c 20 62 75 | 74 20 74 68 69 73 20 76 | you, bu|t this v|
|00001110| 61 72 69 61 62 6c 65 20 | 69 73 20 70 72 6f 76 69 |ariable |is provi|
|00001120| 64 65 64 20 69 6e 20 63 | 61 73 65 20 79 6f 75 27 |ded in c|ase you'|
|00001130| 72 65 20 75 73 69 6e 67 | 20 61 20 62 72 6f 6b 65 |re using| a broke|
|00001140| 6e 20 57 4d 2e 22 29 0a | 28 64 65 66 76 61 72 20 |n WM.").|(defvar |
|00001150| 61 75 74 6f 2d 6c 6f 77 | 65 72 2d 66 72 61 6d 65 |auto-low|er-frame|
|00001160| 20 6e 69 6c 20 22 5c 0a | 2a 49 66 20 74 72 75 65 | nil "\.|*If true|
|00001170| 2c 20 66 72 61 6d 65 73 | 20 77 69 6c 6c 20 62 65 |, frames| will be|
|00001180| 20 6c 6f 77 65 72 65 64 | 20 74 6f 20 74 68 65 20 | lowered| to the |
|00001190| 62 6f 74 74 6f 6d 20 77 | 68 65 6e 20 6e 6f 20 6c |bottom w|hen no l|
|000011a0| 6f 6e 67 65 72 20 73 65 | 6c 65 63 74 65 64 2e 0a |onger se|lected..|
|000011b0| 55 6e 64 65 72 20 58 2c | 20 6d 6f 73 74 20 49 43 |Under X,| most IC|
|000011c0| 43 43 4d 2d 63 6f 6d 70 | 6c 69 61 6e 74 20 77 69 |CCM-comp|liant wi|
|000011d0| 6e 64 6f 77 20 6d 61 6e | 61 67 65 72 73 20 77 69 |ndow man|agers wi|
|000011e0| 6c 6c 20 68 61 76 65 20 | 61 6e 20 6f 70 74 69 6f |ll have |an optio|
|000011f0| 6e 20 74 6f 20 64 6f 20 | 74 68 69 73 0a 66 6f 72 |n to do |this.for|
|00001200| 20 79 6f 75 2c 20 62 75 | 74 20 74 68 69 73 20 76 | you, bu|t this v|
|00001210| 61 72 69 61 62 6c 65 20 | 69 73 20 70 72 6f 76 69 |ariable |is provi|
|00001220| 64 65 64 20 69 6e 20 63 | 61 73 65 20 79 6f 75 27 |ded in c|ase you'|
|00001230| 72 65 20 75 73 69 6e 67 | 20 61 20 62 72 6f 6b 65 |re using| a broke|
|00001240| 6e 20 57 4d 2e 22 29 0a | 28 66 73 65 74 20 27 64 |n WM.").|(fset 'd|
|00001250| 65 66 61 75 6c 74 2d 73 | 65 6c 65 63 74 2d 66 72 |efault-s|elect-fr|
|00001260| 61 6d 65 2d 68 6f 6f 6b | 20 23 5b 6e 69 6c 20 22 |ame-hook| #[nil "|
|00001270| 08 ad 84 c1 c2 20 21 87 | 22 20 5b 61 75 74 6f 2d |..... !.|" [auto-|
|00001280| 72 61 69 73 65 2d 66 72 | 61 6d 65 20 72 61 69 73 |raise-fr|ame rais|
|00001290| 65 2d 66 72 61 6d 65 20 | 73 65 6c 65 63 74 65 64 |e-frame |selected|
|000012a0| 2d 66 72 61 6d 65 5d 20 | 32 20 22 5c 0a 49 6d 70 |-frame] |2 "\.Imp|
|000012b0| 6c 65 6d 65 6e 74 73 20 | 74 68 65 20 60 61 75 74 |lements |the `aut|
|000012c0| 6f 2d 72 61 69 73 65 2d | 66 72 61 6d 65 27 20 76 |o-raise-|frame' v|
|000012d0| 61 72 69 61 62 6c 65 2e | 0a 46 6f 72 20 75 73 65 |ariable.|.For use|
|000012e0| 20 61 73 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 | as the |value of|
|000012f0| 20 60 73 65 6c 65 63 74 | 2d 66 72 61 6d 65 2d 68 | `select|-frame-h|
|00001300| 6f 6f 6b 27 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |ook'."])|.(fset '|
|00001310| 64 65 66 61 75 6c 74 2d | 64 65 73 65 6c 65 63 74 |default-|deselect|
|00001320| 2d 66 72 61 6d 65 2d 68 | 6f 6f 6b 20 23 5b 6e 69 |-frame-h|ook #[ni|
|00001330| 6c 20 22 08 ad 84 c1 c2 | 20 21 87 22 20 5b 61 75 |l ".....| !." [au|
|00001340| 74 6f 2d 6c 6f 77 65 72 | 2d 66 72 61 6d 65 20 6c |to-lower|-frame l|
|00001350| 6f 77 65 72 2d 66 72 61 | 6d 65 20 73 65 6c 65 63 |ower-fra|me selec|
|00001360| 74 65 64 2d 66 72 61 6d | 65 5d 20 32 20 22 5c 0a |ted-fram|e] 2 "\.|
|00001370| 49 6d 70 6c 65 6d 65 6e | 74 73 20 74 68 65 20 60 |Implemen|ts the `|
|00001380| 61 75 74 6f 2d 6c 6f 77 | 65 72 2d 66 72 61 6d 65 |auto-low|er-frame|
|00001390| 27 20 76 61 72 69 61 62 | 6c 65 2e 0a 46 6f 72 20 |' variab|le..For |
|000013a0| 75 73 65 20 61 73 20 74 | 68 65 20 76 61 6c 75 65 |use as t|he value|
|000013b0| 20 6f 66 20 60 64 65 73 | 65 6c 65 63 74 2d 66 72 | of `des|elect-fr|
|000013c0| 61 6d 65 2d 68 6f 6f 6b | 27 2e 22 5d 29 0a 28 62 |ame-hook|'."]).(b|
|000013d0| 79 74 65 2d 63 6f 64 65 | 20 22 08 ac 85 c1 c0 c2 |yte-code| "......|
|000013e0| 5c 22 88 0b ac 85 c1 c3 | c4 5c 22 88 c1 87 22 20 |\"......|.\"..." |
|000013f0| 5b 73 65 6c 65 63 74 2d | 66 72 61 6d 65 2d 68 6f |[select-|frame-ho|
|00001400| 6f 6b 20 61 64 64 2d 68 | 6f 6f 6b 20 64 65 66 61 |ok add-h|ook defa|
|00001410| 75 6c 74 2d 73 65 6c 65 | 63 74 2d 66 72 61 6d 65 |ult-sele|ct-frame|
|00001420| 2d 68 6f 6f 6b 20 64 65 | 73 65 6c 65 63 74 2d 66 |-hook de|select-f|
|00001430| 72 61 6d 65 2d 68 6f 6f | 6b 20 64 65 66 61 75 6c |rame-hoo|k defaul|
|00001440| 74 2d 64 65 73 65 6c 65 | 63 74 2d 66 72 61 6d 65 |t-desele|ct-frame|
|00001450| 2d 68 6f 6f 6b 5d 20 33 | 29 0a 28 64 65 66 76 61 |-hook] 3|).(defva|
|00001460| 72 20 67 65 74 2d 66 72 | 61 6d 65 2d 66 6f 72 2d |r get-fr|ame-for-|
|00001470| 62 75 66 66 65 72 2d 64 | 65 66 61 75 6c 74 2d 66 |buffer-d|efault-f|
|00001480| 72 61 6d 65 2d 6e 61 6d | 65 20 6e 69 6c 20 22 5c |rame-nam|e nil "\|
|00001490| 0a 54 68 65 20 64 65 66 | 61 75 6c 74 20 66 72 61 |.The def|ault fra|
|000014a0| 6d 65 20 74 6f 20 73 65 | 6c 65 63 74 3b 20 73 65 |me to se|lect; se|
|000014b0| 65 20 64 6f 63 20 6f 66 | 20 60 67 65 74 2d 66 72 |e doc of| `get-fr|
|000014c0| 61 6d 65 2d 66 6f 72 2d | 62 75 66 66 65 72 27 2e |ame-for-|buffer'.|
|000014d0| 22 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |").(byte|-code ".|
|000014e0| c1 21 ac 82 c2 11 c3 c4 | 4d 88 c5 c6 4d 88 c7 c8 |.!......|M...M...|
|000014f0| 4d 87 22 20 5b 62 6f 75 | 6e 64 70 20 67 65 74 2d |M." [bou|ndp get-|
|00001500| 66 72 61 6d 65 2d 66 6f | 72 2d 62 75 66 66 65 72 |frame-fo|r-buffer|
|00001510| 2d 64 65 66 61 75 6c 74 | 2d 69 6e 73 74 61 6e 63 |-default|-instanc|
|00001520| 65 2d 6c 69 6d 69 74 20 | 6e 69 6c 20 67 65 74 2d |e-limit |nil get-|
|00001530| 66 72 61 6d 65 2d 6e 61 | 6d 65 2d 66 6f 72 2d 62 |frame-na|me-for-b|
|00001540| 75 66 66 65 72 20 23 5b | 28 62 75 66 66 65 72 29 |uffer #[|(buffer)|
|00001550| 20 22 c0 09 21 ad 86 8a | 09 71 88 5c 6e 29 89 1b | "..!...|.q.\n)..|
|00001560| c4 4e ae 81 0d 29 87 22 | 20 5b 67 65 74 2d 62 75 |.N...)."| [get-bu|
|00001570| 66 66 65 72 20 62 75 66 | 66 65 72 20 6d 61 6a 6f |ffer buf|fer majo|
|00001580| 72 2d 6d 6f 64 65 20 6d | 6f 64 65 20 66 72 61 6d |r-mode m|ode fram|
|00001590| 65 2d 6e 61 6d 65 20 67 | 65 74 2d 66 72 61 6d 65 |e-name g|et-frame|
|000015a0| 2d 66 6f 72 2d 62 75 66 | 66 65 72 2d 64 65 66 61 |-for-buf|fer-defa|
|000015b0| 75 6c 74 2d 66 72 61 6d | 65 2d 6e 61 6d 65 5d 20 |ult-fram|e-name] |
|000015c0| 33 5d 20 67 65 74 2d 66 | 72 61 6d 65 2d 66 6f 72 |3] get-f|rame-for|
|000015d0| 2d 62 75 66 66 65 72 2d | 73 6f 72 74 65 64 2d 66 |-buffer-|sorted-f|
|000015e0| 72 61 6d 65 2d 6c 69 73 | 74 20 23 5b 6e 69 6c 20 |rame-lis|t #[nil |
|000015f0| 22 c0 c1 20 c2 5c 22 87 | 22 20 5b 73 6f 72 74 20 |".. .\".|" [sort |
|00001600| 66 72 61 6d 65 2d 6c 69 | 73 74 20 23 5b 28 73 31 |frame-li|st #[(s1|
|00001610| 20 73 32 29 20 22 c0 09 | 21 ab 82 c2 87 c3 09 21 | s2) "..|!......!|
|00001620| ac 84 c3 0c 21 87 c0 09 | 21 3f ad 88 c3 0c 21 ad |....!...|!?....!.|
|00001630| 83 c0 0c 21 87 22 20 5b | 66 72 61 6d 65 2d 74 6f |...!." [|frame-to|
|00001640| 74 61 6c 6c 79 2d 76 69 | 73 69 62 6c 65 2d 70 20 |tally-vi|sible-p |
|00001650| 73 32 20 6e 69 6c 20 66 | 72 61 6d 65 2d 76 69 73 |s2 nil f|rame-vis|
|00001660| 69 62 6c 65 2d 70 20 73 | 31 5d 20 32 5d 5d 20 33 |ible-p s|1] 2]] 3|
|00001670| 5d 20 67 65 74 2d 66 72 | 61 6d 65 2d 66 6f 72 2d |] get-fr|ame-for-|
|00001680| 62 75 66 66 65 72 2d 6d | 61 6b 65 2d 6e 65 77 2d |buffer-m|ake-new-|
|00001690| 66 72 61 6d 65 20 23 5b | 28 62 75 66 66 65 72 20 |frame #[|(buffer |
|000016a0| 26 6f 70 74 69 6f 6e 61 | 6c 20 66 72 61 6d 65 2d |&optiona|l frame-|
|000016b0| 6e 61 6d 65 29 20 22 c0 | 09 ad 84 c2 09 42 43 21 |name) ".|.....BC!|
|000016c0| 1b c4 0b 21 1d c6 0d 21 | ab 86 c7 0d 0e 08 5c 22 |...!...!|......\"|
|000016d0| 88 0b 2a 87 22 20 5b 6d | 61 6b 65 2d 66 72 61 6d |..*." [m|ake-fram|
|000016e0| 65 20 66 72 61 6d 65 2d | 6e 61 6d 65 20 6e 61 6d |e frame-|name nam|
|000016f0| 65 20 66 72 20 66 72 61 | 6d 65 2d 72 6f 6f 74 2d |e fr fra|me-root-|
|00001700| 77 69 6e 64 6f 77 20 77 | 20 77 69 6e 64 6f 77 2d |window w| window-|
|00001710| 62 75 66 66 65 72 20 73 | 65 74 2d 77 69 6e 64 6f |buffer s|et-windo|
|00001720| 77 2d 62 75 66 66 65 72 | 20 62 75 66 66 65 72 5d |w-buffer| buffer]|
|00001730| 20 33 5d 5d 20 32 29 0a | 28 66 73 65 74 20 27 67 | 3]] 2).|(fset 'g|
|00001740| 65 74 2d 66 72 61 6d 65 | 2d 66 6f 72 2d 62 75 66 |et-frame|-for-buf|
|00001750| 66 65 72 2d 6e 6f 73 65 | 6c 65 63 74 20 23 5b 28 |fer-nose|lect #[(|
|00001760| 62 75 66 66 65 72 20 26 | 6f 70 74 69 6f 6e 61 6c |buffer &|optional|
|00001770| 20 6e 6f 74 2d 74 68 69 | 73 2d 77 69 6e 64 6f 77 | not-thi|s-window|
|00001780| 2d 70 20 6f 6e 2d 66 72 | 61 6d 65 29 20 22 c0 89 |-p on-fr|ame) "..|
|00001790| 19 1a 0b ac 87 c4 20 c5 | 20 3d ab 84 c0 82 ef 00 |...... .| =......|
|000017a0| c6 0e 07 21 89 12 ab fc | 5c 6e c8 4e c0 89 89 89 |...!....|\n.N....|
|000017b0| 1e 09 1e 5c 6e 1e 0b 1e | 0c 19 cd 20 16 0b ce 20 |...\n...|... ... |
|000017c0| cf ce 20 0e 0b 5c 22 42 | 16 0b d0 5c 6e 21 12 0e |.. ..\"B|...\n!..|
|000017d0| 0b ab ad 0e 0b 40 16 5c | 6e 5c 6e d1 0e 5c 6e 21 |.....@.\|n\n..\n!|
|000017e0| 9a ab 98 d2 0e 07 0e 5c | 6e 5c 22 ab 89 0e 5c 6e |.......\|n\"...\n|
|000017f0| 16 09 c0 16 0b aa 87 0e | 5c 6e 0e 0c 42 16 0c 0e |........|\n..B...|
|00001800| 0b 41 89 16 0b ac 53 0e | 09 ab 84 0e 09 aa 9d 0e |.A....S.|........|
|00001810| 0c ab 8f 09 d3 3d ac 8a | 09 ab 8e 0e 0c 47 09 57 |.....=..|.....G.W|
|00001820| ab 87 d4 0e 07 5c 6e 5c | 22 aa 83 0e 0c 40 2d aa |.....\n\|"....@-.|
|00001830| d9 0e 15 89 11 ab a9 cd | 20 1e 0b d6 cf ce 20 0e |........| ..... .|
|00001840| 0b 5c 22 0e 0b 43 5c 22 | 16 0b 09 d3 3d ac 87 0e |.\"..C\"|....=...|
|00001850| 0b 47 09 57 ab 86 d4 0e | 07 21 aa 83 0e 0b 40 29 |.G.W....|.!....@)|
|00001860| aa aa d2 0e 07 d7 5c 22 | ae 86 d2 0e 07 d7 89 23 |......\"|.......#|
|00001870| 89 1e 18 ac 83 c0 aa 94 | 0e 19 ab 8c ce 20 da 0e |........|..... ..|
|00001880| 18 21 3d ab 83 c0 aa 84 | da 0e 18 21 29 2a 87 22 |.!=.....|...!)*."|
|00001890| 20 5b 6e 69 6c 20 6c 69 | 6d 69 74 20 6e 61 6d 65 | [nil li|mit name|
|000018a0| 20 6f 6e 2d 66 72 61 6d | 65 20 73 65 6c 65 63 74 | on-fram|e select|
|000018b0| 65 64 2d 77 69 6e 64 6f | 77 20 6d 69 6e 69 62 75 |ed-windo|w minibu|
|000018c0| 66 66 65 72 2d 77 69 6e | 64 6f 77 20 67 65 74 2d |ffer-win|dow get-|
|000018d0| 66 72 61 6d 65 2d 6e 61 | 6d 65 2d 66 6f 72 2d 62 |frame-na|me-for-b|
|000018e0| 75 66 66 65 72 20 62 75 | 66 66 65 72 20 69 6e 73 |uffer bu|ffer ins|
|000018f0| 74 61 6e 63 65 2d 6c 69 | 6d 69 74 20 61 6c 72 65 |tance-li|mit alre|
|00001900| 61 64 79 2d 76 69 73 69 | 62 6c 65 20 66 72 61 6d |ady-visi|ble fram|
|00001910| 65 20 66 72 61 6d 65 73 | 20 6d 61 74 63 68 69 6e |e frames| matchin|
|00001920| 67 2d 66 72 61 6d 65 73 | 20 67 65 74 2d 66 72 61 |g-frames| get-fra|
|00001930| 6d 65 2d 66 6f 72 2d 62 | 75 66 66 65 72 2d 73 6f |me-for-b|uffer-so|
|00001940| 72 74 65 64 2d 66 72 61 | 6d 65 2d 6c 69 73 74 20 |rted-fra|me-list |
|00001950| 73 65 6c 65 63 74 65 64 | 2d 66 72 61 6d 65 20 64 |selected|-frame d|
|00001960| 65 6c 71 20 73 79 6d 62 | 6f 6c 2d 6e 61 6d 65 20 |elq symb|ol-name |
|00001970| 66 72 61 6d 65 2d 6e 61 | 6d 65 20 67 65 74 2d 62 |frame-na|me get-b|
|00001980| 75 66 66 65 72 2d 77 69 | 6e 64 6f 77 20 30 20 67 |uffer-wi|ndow 0 g|
|00001990| 65 74 2d 66 72 61 6d 65 | 2d 66 6f 72 2d 62 75 66 |et-frame|-for-buf|
|000019a0| 66 65 72 2d 6d 61 6b 65 | 2d 6e 65 77 2d 66 72 61 |fer-make|-new-fra|
|000019b0| 6d 65 20 67 65 74 2d 66 | 72 61 6d 65 2d 66 6f 72 |me get-f|rame-for|
|000019c0| 2d 62 75 66 66 65 72 2d | 64 65 66 61 75 6c 74 2d |-buffer-|default-|
|000019d0| 69 6e 73 74 61 6e 63 65 | 2d 6c 69 6d 69 74 20 61 |instance|-limit a|
|000019e0| 70 70 65 6e 64 20 74 20 | 77 20 6e 6f 74 2d 74 68 |ppend t |w not-th|
|000019f0| 69 73 2d 77 69 6e 64 6f | 77 2d 70 20 77 69 6e 64 |is-windo|w-p wind|
|00001a00| 6f 77 2d 66 72 61 6d 65 | 5d 20 36 20 22 5c 0a 52 |ow-frame|] 6 "\.R|
|00001a10| 65 74 75 72 6e 20 61 20 | 66 72 61 6d 65 20 69 6e |eturn a |frame in|
|00001a20| 20 77 68 69 63 68 20 74 | 6f 20 64 69 73 70 6c 61 | which t|o displa|
|00001a30| 79 20 42 55 46 46 45 52 | 2e 0a 54 68 69 73 20 69 |y BUFFER|..This i|
|00001a40| 73 20 61 20 73 75 62 72 | 6f 75 74 69 6e 65 20 6f |s a subr|outine o|
|00001a50| 66 20 60 67 65 74 2d 66 | 72 61 6d 65 2d 66 6f 72 |f `get-f|rame-for|
|00001a60| 2d 62 75 66 66 65 72 27 | 20 28 77 68 69 63 68 20 |-buffer'| (which |
|00001a70| 73 65 65 29 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |see)."])|.(fset '|
|00001a80| 67 65 74 2d 66 72 61 6d | 65 2d 66 6f 72 2d 62 75 |get-fram|e-for-bu|
|00001a90| 66 66 65 72 20 23 5b 28 | 62 75 66 66 65 72 20 26 |ffer #[(|buffer &|
|00001aa0| 6f 70 74 69 6f 6e 61 6c | 20 6e 6f 74 2d 74 68 69 |optional| not-thi|
|00001ab0| 73 2d 77 69 6e 64 6f 77 | 2d 70 20 6f 6e 2d 66 72 |s-window|-p on-fr|
|00001ac0| 61 6d 65 29 20 22 c0 20 | c1 5c 6e 0b 0c 23 1d 1e |ame) ". |.\n..#..|
|00001ad0| 06 0d c7 20 3d 3f 3f ad | 8f c8 0d 21 88 0d 0e 06 |... =??.|...!....|
|00001ae0| 9d ac 84 c9 0d 21 88 0d | 2a 87 22 20 5b 76 69 73 |.....!..|*." [vis|
|00001af0| 69 62 6c 65 2d 66 72 61 | 6d 65 2d 6c 69 73 74 20 |ible-fra|me-list |
|00001b00| 67 65 74 2d 66 72 61 6d | 65 2d 66 6f 72 2d 62 75 |get-fram|e-for-bu|
|00001b10| 66 66 65 72 2d 6e 6f 73 | 65 6c 65 63 74 20 62 75 |ffer-nos|elect bu|
|00001b20| 66 66 65 72 20 6e 6f 74 | 2d 74 68 69 73 2d 77 69 |ffer not|-this-wi|
|00001b30| 6e 64 6f 77 2d 70 20 6f | 6e 2d 66 72 61 6d 65 20 |ndow-p o|n-frame |
|00001b40| 66 72 61 6d 65 20 6f 6c | 64 2d 66 72 61 6d 65 73 |frame ol|d-frames|
|00001b50| 20 73 65 6c 65 63 74 65 | 64 2d 66 72 61 6d 65 20 | selecte|d-frame |
|00001b60| 73 65 6c 65 63 74 2d 66 | 72 61 6d 65 20 6d 61 6b |select-f|rame mak|
|00001b70| 65 2d 66 72 61 6d 65 2d | 76 69 73 69 62 6c 65 5d |e-frame-|visible]|
|00001b80| 20 35 20 22 5c 0a 53 65 | 6c 65 63 74 20 61 6e 64 | 5 "\.Se|lect and|
|00001b90| 20 72 65 74 75 72 6e 20 | 61 20 66 72 61 6d 65 20 | return |a frame |
|00001ba0| 69 6e 20 77 68 69 63 68 | 20 74 6f 20 64 69 73 70 |in which| to disp|
|00001bb0| 6c 61 79 20 42 55 46 46 | 45 52 2e 0a 4e 6f 72 6d |lay BUFF|ER..Norm|
|00001bc0| 61 6c 6c 79 2c 20 74 68 | 65 20 62 75 66 66 65 72 |ally, th|e buffer|
|00001bd0| 20 77 69 6c 6c 20 73 69 | 6d 70 6c 79 20 62 65 20 | will si|mply be |
|00001be0| 64 69 73 70 6c 61 79 65 | 64 20 69 6e 20 74 68 65 |displaye|d in the|
|00001bf0| 20 63 75 72 72 65 6e 74 | 20 66 72 61 6d 65 2e 0a | current| frame..|
|00001c00| 42 75 74 20 69 66 20 74 | 68 65 20 73 79 6d 62 6f |But if t|he symbo|
|00001c10| 6c 20 6e 61 6d 69 6e 67 | 20 74 68 65 20 6d 61 6a |l naming| the maj|
|00001c20| 6f 72 2d 6d 6f 64 65 20 | 6f 66 20 74 68 65 20 62 |or-mode |of the b|
|00001c30| 75 66 66 65 72 20 68 61 | 73 20 61 20 27 66 72 61 |uffer ha|s a 'fra|
|00001c40| 6d 65 2d 6e 61 6d 65 0a | 70 72 6f 70 65 72 74 79 |me-name.|property|
|00001c50| 20 28 77 68 69 63 68 20 | 73 68 6f 75 6c 64 20 62 | (which |should b|
|00001c60| 65 20 61 20 73 79 6d 62 | 6f 6c 29 2c 20 74 68 65 |e a symb|ol), the|
|00001c70| 6e 20 74 68 65 20 62 75 | 66 66 65 72 20 77 69 6c |n the bu|ffer wil|
|00001c80| 6c 20 62 65 20 64 69 73 | 70 6c 61 79 65 64 20 69 |l be dis|played i|
|00001c90| 6e 0a 61 20 66 72 61 6d | 65 20 6f 66 20 74 68 61 |n.a fram|e of tha|
|00001ca0| 74 20 6e 61 6d 65 2e 20 | 20 49 66 20 74 68 65 72 |t name. | If ther|
|00001cb0| 65 20 69 73 20 6e 6f 20 | 66 72 61 6d 65 20 6f 66 |e is no |frame of|
|00001cc0| 20 74 68 61 74 20 6e 61 | 6d 65 2c 20 74 68 65 6e | that na|me, then|
|00001cd0| 20 6f 6e 65 20 69 73 0a | 63 72 65 61 74 65 64 2e | one is.|created.|
|00001ce0| 20 20 0a 0a 49 66 20 74 | 68 65 20 6d 61 6a 6f 72 | ..If t|he major|
|00001cf0| 2d 6d 6f 64 65 20 64 6f | 65 73 6e 27 74 20 68 61 |-mode do|esn't ha|
|00001d00| 76 65 20 61 20 27 66 72 | 61 6d 65 2d 6e 61 6d 65 |ve a 'fr|ame-name|
|00001d10| 20 70 72 6f 70 65 72 74 | 79 2c 20 74 68 65 6e 20 | propert|y, then |
|00001d20| 74 68 65 20 66 72 61 6d | 65 0a 6e 61 6d 65 64 20 |the fram|e.named |
|00001d30| 62 79 20 60 67 65 74 2d | 66 72 61 6d 65 2d 66 6f |by `get-|frame-fo|
|00001d40| 72 2d 62 75 66 66 65 72 | 2d 64 65 66 61 75 6c 74 |r-buffer|-default|
|00001d50| 2d 66 72 61 6d 65 2d 6e | 61 6d 65 27 20 77 69 6c |-frame-n|ame' wil|
|00001d60| 6c 20 62 65 20 75 73 65 | 64 2e 20 20 49 66 0a 74 |l be use|d. If.t|
|00001d70| 68 61 74 20 69 73 20 6e | 69 6c 20 28 74 68 65 20 |hat is n|il (the |
|00001d80| 64 65 66 61 75 6c 74 29 | 20 74 68 65 6e 20 74 68 |default)| then th|
|00001d90| 65 20 63 75 72 72 65 6e | 74 6c 79 20 73 65 6c 65 |e curren|tly sele|
|00001da0| 63 74 65 64 20 66 72 61 | 6d 65 20 77 69 6c 6c 20 |cted fra|me will |
|00001db0| 75 73 65 64 2e 0a 0a 49 | 66 20 74 68 65 20 66 72 |used...I|f the fr|
|00001dc0| 61 6d 65 2d 6e 61 6d 65 | 20 73 79 6d 62 6f 6c 20 |ame-name| symbol |
|00001dd0| 68 61 73 20 61 6e 20 27 | 69 6e 73 74 61 6e 63 65 |has an '|instance|
|00001de0| 2d 6c 69 6d 69 74 20 70 | 72 6f 70 65 72 74 79 20 |-limit p|roperty |
|00001df0| 28 61 6e 20 69 6e 74 65 | 67 65 72 29 0a 74 68 65 |(an inte|ger).the|
|00001e00| 6e 20 65 61 63 68 20 74 | 69 6d 65 20 61 20 62 75 |n each t|ime a bu|
|00001e10| 66 66 65 72 20 6f 66 20 | 74 68 65 20 6d 6f 64 65 |ffer of |the mode|
|00001e20| 20 69 6e 20 71 75 65 73 | 74 69 6f 6e 20 69 73 20 | in ques|tion is |
|00001e30| 64 69 73 70 6c 61 79 65 | 64 2c 20 61 20 6e 65 77 |displaye|d, a new|
|00001e40| 20 66 72 61 6d 65 0a 77 | 69 74 68 20 74 68 61 74 | frame.w|ith that|
|00001e50| 20 6e 61 6d 65 20 77 69 | 6c 6c 20 62 65 20 63 72 | name wi|ll be cr|
|00001e60| 65 61 74 65 64 2c 20 75 | 6e 74 69 6c 20 74 68 65 |eated, u|ntil the|
|00001e70| 72 65 20 61 72 65 20 60 | 69 6e 73 74 61 6e 63 65 |re are `|instance|
|00001e80| 2d 6c 69 6d 69 74 27 20 | 6f 66 20 74 68 65 6d 2e |-limit' |of them.|
|00001e90| 0a 49 66 20 69 6e 73 74 | 61 6e 63 65 2d 6c 69 6d |.If inst|ance-lim|
|00001ea0| 69 74 20 69 73 20 30 2c | 20 74 68 65 6e 20 61 20 |it is 0,| then a |
|00001eb0| 6e 65 77 20 66 72 61 6d | 65 20 77 69 6c 6c 20 62 |new fram|e will b|
|00001ec0| 65 20 63 72 65 61 74 65 | 64 20 65 61 63 68 20 74 |e create|d each t|
|00001ed0| 69 6d 65 2e 0a 0a 49 66 | 20 61 20 62 75 66 66 65 |ime...If| a buffe|
|00001ee0| 72 20 69 73 20 61 6c 72 | 65 61 64 79 20 64 69 73 |r is alr|eady dis|
|00001ef0| 70 6c 61 79 65 64 20 69 | 6e 20 61 20 66 72 61 6d |played i|n a fram|
|00001f00| 65 2c 20 74 68 65 6e 20 | 60 69 6e 73 74 61 6e 63 |e, then |`instanc|
|00001f10| 65 2d 6c 69 6d 69 74 27 | 20 69 73 20 0a 69 67 6e |e-limit'| is .ign|
|00001f20| 6f 72 65 64 2c 20 61 6e | 64 20 74 68 61 74 20 66 |ored, an|d that f|
|00001f30| 72 61 6d 65 20 69 73 20 | 75 73 65 64 2e 0a 0a 49 |rame is |used...I|
|00001f40| 66 20 74 68 65 20 66 72 | 61 6d 65 2d 6e 61 6d 65 |f the fr|ame-name|
|00001f50| 20 73 79 6d 62 6f 6c 20 | 68 61 73 20 61 20 27 66 | symbol |has a 'f|
|00001f60| 72 61 6d 65 2d 64 65 66 | 61 75 6c 74 73 20 70 72 |rame-def|aults pr|
|00001f70| 6f 70 65 72 74 79 2c 20 | 74 68 65 6e 20 74 68 61 |operty, |then tha|
|00001f80| 74 20 69 73 0a 70 72 65 | 70 65 6e 64 65 64 20 74 |t is.pre|pended t|
|00001f90| 6f 20 74 68 65 20 60 64 | 65 66 61 75 6c 74 2d 66 |o the `d|efault-f|
|00001fa0| 72 61 6d 65 2d 61 6c 69 | 73 74 27 20 77 68 65 6e |rame-ali|st' when|
|00001fb0| 20 63 72 65 61 74 69 6e | 67 20 61 20 66 72 61 6d | creatin|g a fram|
|00001fc0| 65 20 66 6f 72 20 74 68 | 65 0a 66 69 72 73 74 20 |e for th|e.first |
|00001fd0| 74 69 6d 65 2e 0a 0a 54 | 68 69 73 20 66 75 6e 63 |time...T|his func|
|00001fe0| 74 69 6f 6e 20 6d 61 79 | 20 62 65 20 75 73 65 64 |tion may| be used|
|00001ff0| 20 61 73 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 | as the |value of|
|00002000| 20 60 70 72 65 2d 64 69 | 73 70 6c 61 79 2d 62 75 | `pre-di|splay-bu|
|00002010| 66 66 65 72 2d 66 75 6e | 63 74 69 6f 6e 27 2c 20 |ffer-fun|ction', |
|00002020| 0a 74 6f 20 63 61 75 73 | 65 20 74 68 65 20 64 69 |.to caus|e the di|
|00002030| 73 70 6c 61 79 2d 62 75 | 66 66 65 72 20 66 75 6e |splay-bu|ffer fun|
|00002040| 63 74 69 6f 6e 20 61 6e | 64 20 69 74 73 20 63 61 |ction an|d its ca|
|00002050| 6c 6c 65 72 73 20 74 6f | 20 65 78 68 69 62 69 74 |llers to| exhibit|
|00002060| 20 74 68 65 20 61 62 6f | 76 65 0a 62 65 68 61 76 | the abo|ve.behav|
|00002070| 69 6f 72 2e 22 5d 29 0a | 28 66 73 65 74 20 27 66 |ior."]).|(fset 'f|
|00002080| 72 61 6d 65 73 2d 6f 66 | 2d 62 75 66 66 65 72 20 |rames-of|-buffer |
|00002090| 23 5b 28 26 6f 70 74 69 | 6f 6e 61 6c 20 62 75 66 |#[(&opti|onal buf|
|000020a0| 66 65 72 20 76 69 73 69 | 62 6c 65 2d 6f 6e 6c 79 |fer visi|ble-only|
|000020b0| 29 20 22 c0 09 21 c2 20 | c3 89 89 1c 1d 1e 06 1e |) "..!. |........|
|000020c0| 07 89 1e 08 ab b3 c9 0e | 08 40 21 89 16 06 0d 3e |........|.@!....>|
|000020d0| ac 9f 0e 07 0e 06 3d ab | 85 0e 06 14 aa 93 0e 5c |......=.|.......\|
|000020e0| 6e ab 88 cb 0e 06 21 cc | 3d ab 87 cd 0d 0e 06 43 |n.....!.|=......C|
|000020f0| 5c 22 15 0e 08 41 89 16 | 08 ac 4d 0c ab 87 cd 0c |\"...A..|..M.....|
|00002100| 43 0d 5c 22 aa 81 0d 2d | 87 22 20 5b 77 69 6e 64 |C.\"...-|." [wind|
|00002110| 6f 77 73 2d 6f 66 2d 62 | 75 66 66 65 72 20 62 75 |ows-of-b|uffer bu|
|00002120| 66 66 65 72 20 73 65 6c | 65 63 74 65 64 2d 66 72 |ffer sel|ected-fr|
|00002130| 61 6d 65 20 6e 69 6c 20 | 73 61 76 65 2d 66 72 61 |ame nil |save-fra|
|00002140| 6d 65 20 66 72 61 6d 65 | 73 20 6e 65 78 74 2d 66 |me frame|s next-f|
|00002150| 72 61 6d 65 20 63 75 72 | 2d 66 72 61 6d 65 20 6c |rame cur|-frame l|
|00002160| 69 73 74 20 77 69 6e 64 | 6f 77 2d 66 72 61 6d 65 |ist wind|ow-frame|
|00002170| 20 76 69 73 69 62 6c 65 | 2d 6f 6e 6c 79 20 66 72 | visible|-only fr|
|00002180| 61 6d 65 2d 76 69 73 69 | 62 6c 65 2d 70 20 74 20 |ame-visi|ble-p t |
|00002190| 61 70 70 65 6e 64 5d 20 | 36 20 22 5c 0a 52 65 74 |append] |6 "\.Ret|
|000021a0| 75 72 6e 20 6c 69 73 74 | 20 6f 66 20 66 72 61 6d |urn list| of fram|
|000021b0| 65 73 20 74 68 61 74 20 | 42 55 46 46 45 52 20 69 |es that |BUFFER i|
|000021c0| 73 20 63 75 72 72 65 6e | 74 6c 79 20 62 65 69 6e |s curren|tly bein|
|000021d0| 67 20 64 69 73 70 6c 61 | 79 65 64 20 6f 6e 2e 0a |g displa|yed on..|
|000021e0| 49 66 20 74 68 65 20 62 | 75 66 66 65 72 20 69 73 |If the b|uffer is|
|000021f0| 20 62 65 69 6e 67 20 64 | 69 73 70 6c 61 79 65 64 | being d|isplayed|
|00002200| 20 6f 6e 20 74 68 65 20 | 63 75 72 72 65 6e 74 6c | on the |currentl|
|00002210| 79 20 73 65 6c 65 63 74 | 65 64 20 66 72 61 6d 65 |y select|ed frame|
|00002220| 2c 20 74 68 61 74 20 66 | 72 61 6d 65 0a 69 73 20 |, that f|rame.is |
|00002230| 66 69 72 73 74 20 69 6e | 20 74 68 65 20 6c 69 73 |first in| the lis|
|00002240| 74 2e 20 20 56 49 53 49 | 42 4c 45 2d 4f 4e 4c 59 |t. VISI|BLE-ONLY|
|00002250| 20 77 69 6c 6c 20 6f 6e | 6c 79 20 6c 69 73 74 20 | will on|ly list |
|00002260| 6e 6f 6e 2d 69 63 6f 6e | 69 66 69 65 64 20 66 72 |non-icon|ified fr|
|00002270| 61 6d 65 73 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |ames."])|.(fset '|
|00002280| 73 68 6f 77 2d 74 65 6d | 70 2d 62 75 66 66 65 72 |show-tem|p-buffer|
|00002290| 2d 69 6e 2d 63 75 72 72 | 65 6e 74 2d 66 72 61 6d |-in-curr|ent-fram|
|000022a0| 65 20 23 5b 28 62 75 66 | 66 65 72 29 20 22 c0 19 |e #[(buf|fer) "..|
|000022b0| c2 0b 21 1c c5 20 c6 0c | 21 3d ac 84 c7 c8 21 88 |..!.. ..|!=....!.|
|000022c0| 0c 16 09 ca 0c cb 5c 22 | 88 cc 0c cb 5c 22 88 2a |......\"|....\".*|
|000022d0| c0 87 22 20 5b 6e 69 6c | 20 70 72 65 2d 64 69 73 |.." [nil| pre-dis|
|000022e0| 70 6c 61 79 2d 62 75 66 | 66 65 72 2d 66 75 6e 63 |play-buf|fer-func|
|000022f0| 74 69 6f 6e 20 64 69 73 | 70 6c 61 79 2d 62 75 66 |tion dis|play-buf|
|00002300| 66 65 72 20 62 75 66 66 | 65 72 20 77 69 6e 64 6f |fer buff|er windo|
|00002310| 77 20 73 65 6c 65 63 74 | 65 64 2d 66 72 61 6d 65 |w select|ed-frame|
|00002320| 20 77 69 6e 64 6f 77 2d | 66 72 61 6d 65 20 65 72 | window-|frame er|
|00002330| 72 6f 72 20 22 64 69 73 | 70 6c 61 79 2d 62 75 66 |ror "dis|play-buf|
|00002340| 66 65 72 20 73 77 69 74 | 63 68 65 64 20 66 72 61 |fer swit|ched fra|
|00002350| 6d 65 73 20 6f 6e 20 69 | 74 73 20 6f 77 6e 21 21 |mes on i|ts own!!|
|00002360| 22 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 73 63 72 |" minibu|ffer-scr|
|00002370| 6f 6c 6c 2d 77 69 6e 64 | 6f 77 20 73 65 74 2d 77 |oll-wind|ow set-w|
|00002380| 69 6e 64 6f 77 2d 73 74 | 61 72 74 20 31 20 73 65 |indow-st|art 1 se|
|00002390| 74 2d 77 69 6e 64 6f 77 | 2d 70 6f 69 6e 74 5d 20 |t-window|-point] |
|000023a0| 33 20 22 5c 0a 46 6f 72 | 20 75 73 65 20 61 73 20 |3 "\.For| use as |
|000023b0| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 74 65 6d |the valu|e of tem|
|000023c0| 70 2d 62 75 66 66 65 72 | 2d 73 68 6f 77 2d 66 75 |p-buffer|-show-fu|
|000023d0| 6e 63 74 69 6f 6e 3a 0a | 61 6c 77 61 79 73 20 64 |nction:.|always d|
|000023e0| 69 73 70 6c 61 79 73 20 | 74 68 65 20 62 75 66 66 |isplays |the buff|
|000023f0| 65 72 20 69 6e 20 74 68 | 65 20 63 75 72 72 65 6e |er in th|e curren|
|00002400| 74 20 66 72 61 6d 65 2c | 20 72 65 67 61 72 64 6c |t frame,| regardl|
|00002410| 65 73 73 20 6f 66 20 74 | 68 65 20 62 65 68 61 76 |ess of t|he behav|
|00002420| 69 6f 72 0a 74 68 61 74 | 20 77 6f 75 6c 64 20 6f |ior.that| would o|
|00002430| 74 68 65 72 77 69 73 65 | 20 62 65 20 69 6e 74 72 |therwise| be intr|
|00002440| 6f 64 75 63 65 64 20 62 | 79 20 74 68 65 20 60 70 |oduced b|y the `p|
|00002450| 72 65 2d 64 69 73 70 6c | 61 79 2d 62 75 66 66 65 |re-displ|ay-buffe|
|00002460| 72 2d 66 75 6e 63 74 69 | 6f 6e 27 2c 20 77 68 69 |r-functi|on', whi|
|00002470| 63 68 0a 69 73 20 6e 6f | 72 6d 61 6c 6c 79 20 73 |ch.is no|rmally s|
|00002480| 65 74 20 74 6f 20 60 67 | 65 74 2d 66 72 61 6d 65 |et to `g|et-frame|
|00002490| 2d 66 6f 72 2d 62 75 66 | 66 65 72 27 20 28 77 68 |-for-buf|fer' (wh|
|000024a0| 69 63 68 20 73 65 65 29 | 2e 22 5d 29 0a 28 62 79 |ich see)|."]).(by|
|000024b0| 74 65 2d 63 6f 64 65 20 | 22 c0 11 c2 13 c0 87 22 |te-code |"......"|
|000024c0| 20 5b 67 65 74 2d 66 72 | 61 6d 65 2d 66 6f 72 2d | [get-fr|ame-for-|
|000024d0| 62 75 66 66 65 72 20 70 | 72 65 2d 64 69 73 70 6c |buffer p|re-displ|
|000024e0| 61 79 2d 62 75 66 66 65 | 72 2d 66 75 6e 63 74 69 |ay-buffe|r-functi|
|000024f0| 6f 6e 20 73 68 6f 77 2d | 74 65 6d 70 2d 62 75 66 |on show-|temp-buf|
|00002500| 66 65 72 2d 69 6e 2d 63 | 75 72 72 65 6e 74 2d 66 |fer-in-c|urrent-f|
|00002510| 72 61 6d 65 20 74 65 6d | 70 2d 62 75 66 66 65 72 |rame tem|p-buffer|
|00002520| 2d 73 68 6f 77 2d 66 75 | 6e 63 74 69 6f 6e 5d 20 |-show-fu|nction] |
|00002530| 31 29 0a 28 66 73 65 74 | 20 27 64 65 6c 65 74 65 |1).(fset| 'delete|
|00002540| 2d 6f 74 68 65 72 2d 66 | 72 61 6d 65 73 20 23 5b |-other-f|rames #[|
|00002550| 28 26 6f 70 74 69 6f 6e | 61 6c 20 66 72 61 6d 65 |(&option|al frame|
|00002560| 29 20 22 c0 c1 c2 0b ae | 82 c4 20 c5 20 5c 22 5c |) ".....|.. . \"\|
|00002570| 22 87 22 20 5b 6d 61 70 | 63 61 72 20 64 65 6c 65 |"." [map|car dele|
|00002580| 74 65 2d 66 72 61 6d 65 | 20 64 65 6c 71 20 66 72 |te-frame| delq fr|
|00002590| 61 6d 65 20 73 65 6c 65 | 63 74 65 64 2d 66 72 61 |ame sele|cted-fra|
|000025a0| 6d 65 20 66 72 61 6d 65 | 2d 6c 69 73 74 5d 20 35 |me frame|-list] 5|
|000025b0| 20 22 5c 0a 44 65 6c 65 | 74 65 20 61 6c 6c 20 62 | "\.Dele|te all b|
|000025c0| 75 74 20 46 52 41 4d 45 | 20 28 6f 72 20 74 68 65 |ut FRAME| (or the|
|000025d0| 20 73 65 6c 65 63 74 65 | 64 20 66 72 61 6d 65 29 | selecte|d frame)|
|000025e0| 2e 22 20 6e 69 6c 5d 29 | 0a 28 70 72 6f 76 69 64 |." nil])|.(provid|
|000025f0| 65 20 27 66 72 61 6d 65 | 29 0a |e 'frame|). |
+--------+-------------------------+-------------------------+--------+--------+